package com.tb.mapper;

import com.tb.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {

    User login(@Param("username") String username, @Param("password") String password);

    void Refresh();

    User findUser2RoleById(String username);

    int addUser(User user);

    void stuModify(@Param("sid") String sid, @Param("oldSid") String oldSid);
}
